import service from "@/requset/requset.js";

export function addDictApi(data){
    return service({
        url:"/dict/add",
        method:"post",
        data:data
    })
}
export function getAllDictsApi(data){
    return service({
        url:"/dict/getAllDicts",
        method:"post",
        data:data
    })
}
export function deleteDictApi(data){
    return service({
        url:"/dict/deleteDict",
        method:"post",
        data:data
    })
}
export function updateDictApi(data){
    return service({
        url:"/dict/updateDict",
        method:"post",
        data:data
    })
}